package cn.tedu.hospital.base.exception;

import cn.tedu.hospital.base.response.StatusCode;
import lombok.Getter;

@Getter
public class ServiceException extends RuntimeException{
        private StatusCode statusCode;
        //Alt+Insert 一直回车 生成该类的构造函数
        public ServiceException(StatusCode statusCode) {
            this.statusCode = statusCode;
        }
}
